package com.ruoyi.orders.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 产品订单对象 smart_purchase_record
 * 
 * @author ruoyi
 * @date 2025-04-01
 */
public class SmartPurchaseRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long scRecordId;

    /** 停车场id */
    @Excel(name = "停车场id")
    private Long scParkingLotId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long scUserId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long scCarId;

    /** 购买产品类型  1是月卡  2是会员 */
    @Excel(name = "购买产品类型  1是月卡  2是会员")
    private Long scProductType;

    /** 购买产品金额 */
    @Excel(name = "购买产品金额")
    private BigDecimal scProductAmount;

    /** 购买时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "购买时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date scBuyingTime;

    public void setScRecordId(Long scRecordId) 
    {
        this.scRecordId = scRecordId;
    }

    public Long getScRecordId() 
    {
        return scRecordId;
    }

    public void setScParkingLotId(Long scParkingLotId) 
    {
        this.scParkingLotId = scParkingLotId;
    }

    public Long getScParkingLotId() 
    {
        return scParkingLotId;
    }

    public void setScUserId(Long scUserId) 
    {
        this.scUserId = scUserId;
    }

    public Long getScUserId() 
    {
        return scUserId;
    }

    public void setScCarId(Long scCarId) 
    {
        this.scCarId = scCarId;
    }

    public Long getScCarId() 
    {
        return scCarId;
    }

    public void setScProductType(Long scProductType) 
    {
        this.scProductType = scProductType;
    }

    public Long getScProductType() 
    {
        return scProductType;
    }

    public void setScProductAmount(BigDecimal scProductAmount) 
    {
        this.scProductAmount = scProductAmount;
    }

    public BigDecimal getScProductAmount() 
    {
        return scProductAmount;
    }

    public void setScBuyingTime(Date scBuyingTime) 
    {
        this.scBuyingTime = scBuyingTime;
    }

    public Date getScBuyingTime() 
    {
        return scBuyingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scRecordId", getScRecordId())
            .append("scParkingLotId", getScParkingLotId())
            .append("scUserId", getScUserId())
            .append("scCarId", getScCarId())
            .append("scProductType", getScProductType())
            .append("scProductAmount", getScProductAmount())
            .append("scBuyingTime", getScBuyingTime())
            .toString();
    }
}
